package com.sc.highspeed.db.dao;

import com.sc.highspeed.db.model.UrgInformationModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Admin on 2017/12/4.
 */
public interface UrgInformationDao {

    UrgInformationModel getUrgInformationById(int id);
    List<UrgInformationModel> getUrgInformationList(@Param("startRow") int startRow, @Param("pageSize") int pageSize);
    int insertUrgInformation(UrgInformationModel urgInformationModel);
    int updateUrgInformationById(UrgInformationModel urgInformationModel);
    int deleteUrgInformationById(int id);
    int updateUrgInformationStatus(@Param("status") String status, @Param("id") int id);
    int updateUrgInfomationRevocation(@Param("id") int id, @Param("revocation") String revocation, @Param("revokeOrg") String revokeOrg, @Param("revokeTime") String revokeTime);

    int getUrgInfoNumber();
}
